package com.example.dailyrecord.util;

public class IDUtils {

    private static final SnowflakeIdGenerator ID_GENERATOR = new SnowflakeIdGenerator();

    public static long getLongID() {
        return ID_GENERATOR.getUId();
    }

    public static String getStringID() {
        return ID_GENERATOR.getSuid();
    }

}
